package com.person.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.person.model.entity.User;
import jakarta.servlet.http.HttpServletRequest;

public interface UserService extends IService<User> {
    User login(User user, HttpServletRequest request);

    /**
     * 获取当前用户的登录信息
     * @param request
     * @return
     */
    User current(HttpServletRequest request);
}
